
import https from './index.js' 

// 添加合同
// api/contract/SignRoomZFTAddContract
export function addSignRoomContract(data) {
	return https({
		url: '/api/contract/SignRoomZFTAddContract',
		method: 'POST',
		data,
		header: {
			"Content-Type": "application/json; charset=utf-8"
		}
	})
}


// 编辑合同
export function editContract(data) {
	return https({
		url: '/api/contract/SignRoomZFTEditContract',
		method: 'POST',
		data,
		header: {
			"Content-Type": "application/json; charset=utf-8"
		}
	})
}

// 获取合同列表
// api/contract/SignRoomGetContractList
export function getContractList(data, disabledLoading = true) {
	return https({
		url: '/api/contract/SignRoomGetContractList',
		method: 'GET',
		data,
		disabledLoading
	})
}

//  获取合同信息
// api/contract/SignRoomGetContractInfo

export function getContractInfo(data) {
	return https({
		url: '/api/contract/SignRoomGetContractInfo',
		method: 'GET',
		data
	})
}
